package com.wiki.dto.req;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class EbookSaveRequest {
    private Long id;
    private String cover;

    @NotNull(message = "电子书名称不能为空")
    private String name;

    private Long category1Id;
    private Long category2Id;
    private String description;
}
